﻿Public Class WebUserControl1
    Inherits System.Web.UI.UserControl

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Session("Login").ToString Is "True" Then
            logStatus.Text = "Log Out"
            logStatus.NavigateUrl = "../logout.aspx"
        Else
            logStatus.Text = "Log in"
            logStatus.NavigateUrl = "../login.aspx"
        End If

    End Sub

End Class